Skip to content

Improve error message for deprecated methods and invalid property access #5446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

kocsismate
Copy link
Member

No description provided.

@kocsismate kocsismate force-pushed the consistent-error-messages-non-object branch from edf83da to 3e86a32 Compare April 24, 2020 10:12
@kocsismate kocsismate force-pushed the consistent-error-messages-non-object branch 4 times, most recently from 41e0a52 to 61f399a Compare April 26, 2020 17:23
@kocsismate kocsismate force-pushed the consistent-error-messages-non-object branch 4 times, most recently from 63b5baa to 9d400d1 Compare May 13, 2020 20:48
@kocsismate kocsismate changed the title Improve error message for deprecated methods and invalid property read Improve error message for deprecated methods and invalid property access May 13, 2020
@nikic
Copy link
Member

nikic commented May 14, 2020

While we're here, do we have any common convention on use of ' vs " ? I think the preference is towards ", but I'm not sure on that.

@kocsismate
Copy link
Member Author

kocsismate commented May 14, 2020

@nikic I also prefer ", but was a (little) bit sad when I discovered that we use ' in most cases (at least this is my observation), so I started using ', too. I can try to have a closer look on it in the near future.

@nikic
Copy link
Member

nikic commented May 15, 2020

This one needs a rebase over the committed changes.

@kocsismate
Copy link
Member Author

kocsismate commented May 15, 2020

@nikic Finally I did the rebase locally yesterday, without pushing it here, so that CI was not interrupted and I could cherry-pick the first commit to master. But maybe I can do the push now (since I already know the CI result)

Co-authored-by:  Nikita Popov <nikita.ppv@gmail.com>
@kocsismate kocsismate force-pushed the consistent-error-messages-non-object branch from 5dc0b36 to 55091e2 Compare May 15, 2020 08:40
@kocsismate
Copy link
Member Author

Can I now apply the remaining commit?

Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup!

@php-pulls php-pulls closed this in 1179686 May 18, 2020
@kocsismate kocsismate deleted the consistent-error-messages-non-object branch May 18, 2020 06:28
@kocsismate
Copy link
Member Author

Oh, sh.. I screwed up the co-authored-by part :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants